]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray.js: fire a signal when the summary item is clicked
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 27 May 2011 09:08:32 +0000 (11:08 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 29 Jun 2011 07:44:46 +0000 (09:44 +0200)
js/ui/messageTray.js

index 1ae3fd7c44830412402530b956a540b4f2b485fa..6014b4bb172173e69d1a4dba3c0448ff4ee674b2 100644 (file)
@@ -1615,6 +1615,8 @@ MessageTray.prototype = {
                  this._clickedSummaryItemMouseButton != button) {
             this._clickedSummaryItem = summaryItem;
             this._clickedSummaryItemMouseButton = button;
+
+            summaryItem.source.emit('summary-item-clicked', button);
         } else {
             this._unsetClickedSummaryItem();
         }